<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
   pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="support.*,java.util.*"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="layout.css" />
</head>
<body>
   <%
      student applicant = (student) session.getAttribute("applicant");
   %>

   <p>
      Name:
      <%=applicant.name.toString()%><br /> Country of Citizenship:
      <%=applicant.getCountryVector().get(applicant.getCitizenship())%>
      <br /> Country of Residence:
      <%=applicant.getCountryVector().get(applicant.getResidence())%>
      <br /><%=applicant.addy.toString()%>
   </p><hr>

   <h3>Please choose your specialization.</h3>

   <form method="POST" action="verification.jsp">
      <select name="specialization">
         <%
            for (int i = 0; i < applicant.specializations.size(); i++) {
         %>
         <option><%=applicant.specializations.get(i)%></option>

         <%
            }
         %>

      </select><br /> <input type="submit" value="Submit" />
   </form>

</body>
</html>